import React from 'react';

type LoadingProps = {
    width?: string;
    height?: string;
};

const Loading = ({ width = "w-4", height = "h-4" }: LoadingProps) => {
    return (
        <section className={`inline-flex shrink-0 grow-0 items-center mr-2 border-2 border-gray-300 border-t-blue-500 rounded-full ${width} ${height} animate-spin`}>
        </section>
    );
};

export default Loading;
